<?php
namespace Admin\Model;
use Think\Model;

class CommonModel extends Model{
	public function findOneById($id){
		//获取单条数据
		return $this->where("id=".$id)->find();
	}
}


?>